package com.tanhua.common.pojo;

import com.sun.corba.se.spi.ior.ObjectId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private ObjectId id;//ObjectId自动映射到mongoDB中_id
    private String name;
    private int age;
    //private Address address;
}